package com.jdb.settings.privoder.entity;

import com.guns21.support.entity.AbstractEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "TB_SETTING")
public class SettingDO extends AbstractEntity {

    @Column(unique = true, name = "one_key")
    private String key;

    /**
     * 必须是json数组 []
     */
    @Column(columnDefinition = "json")
    private String options;

}
